package com.avoid.easymqtt.remoting;

import io.netty.channel.Channel;

/**
 * 描述
 *
 * @author avoid@fiture.com
 * @date 2022/5/5
 * @motto Life is so short,do something to make yourself happy,such as coding
 */
public interface ChannelEventListener {

    void onChannelConnect(final String remoteAddr, final Channel channel);

    void onChannelClose(final String remoteAddr, final Channel channel);

    void onChannelException(final String remoteAddr, final Channel channel);

    void onChannelIdle(final String remoteAddr, final Channel channel);

}
